package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.CardFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

@Component
public class CardFallback implements CardFeign {
    @Override
    public ResultModel<CardListVo> list(CardListDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel save(CardSaveRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel applyAgree(CardApplyAgreeDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel applyRefuse(CardApplyRefuseDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel edit(CardEditDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel wxcodeUpdate(CardWxcodeUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<CardCheckResponse> check(CardCheckRequest request) {
        return ResultModel.faultTolerant();
    }
}
